<?php
	chong_pha_hoai();
	//echo "Vao day <hr>";
	$id=$_GET['id'];
	$tv="select * from sanpham where (id_sanpham='$id' and isActive=1)";
	$tv_1=mysql_query($tv);
	$tv_2=mysql_fetch_array($tv_1);
	echo "Tên sản phẩm: ".$tv_2['ten_sanpham'];
	echo "<hr>";
	$link_hinh="images/sanpham/".$tv_2['hinh'];
	echo "<img border=0 src='$link_hinh' height='225' width='175'/>";
	echo "<hr>";
	echo "Đơn giá: ".$tv_2['dongia_sanpham']." VNĐ";
	echo "<hr>";
	echo "Số lượng tồn kho: ".$tv_2['solg_tonkho'];
	echo "<hr>";
	echo "Mô tả: ".$tv_2['mota_sanpham'];
	echo "<hr>";
?>